package com.example.printscreen.printscreen.bean;

import java.util.List;

/**
 * 文件夹选择
 *
 * @author: xiaoluo
 * @date: 2017-01-16 17:31
 */
public class SelectFolder {
    public String name;
    public String path;
    public SelectPicture cover;
    public List<SelectPicture> images;

    @Override
    public boolean equals(Object o) {
        try {
            SelectFolder other = (SelectFolder) o;
            return this.path.equalsIgnoreCase(other.path);
        }catch (ClassCastException e){
            e.printStackTrace();
        }
        return super.equals(o);
    }
}
